﻿@{
    ViewBag.Title = "Add";
    Layout = null;
}

<form class="pageForm addpage" action="@Url.Action("SaveAdd")" method="post">
    <div style=" height:100%; width:100%; overflow:hidden" class="verticalSplitContainer">
        <div class="pageFormContent" ratio="*">

            <table style="width:100%">
                <tr>
                    <td width="20%">名称：</td>
                    <td width="80%"><input type="text" value="" size="30" name="Name" class="textInput" /></td>
                </tr>
                <tr>
                    <td> 别名：</td>
                    <td> <input type="text" value="" size="30" name="DisplayName" class="textInput" /> (前台显示以别名为主)</td>
                </tr>
                <tr>
                    <td>类别图片：</td>
                    <td><input name="ImgPath class="textInput datetime" type="text" size="30" value="" alt=""/></td>
                </tr>
                <tr>
                    <td>分类介绍：</td>
                    <td><script type="text/plain" id="Info" style="width:100%;height:200px;"></script></td>
                </tr>
                <tr>
                    <td width="20%">排序：</td>
                    <td width="80%"><input type="text" value="" size="30" name="OrderIndex" class="textInput" /></td>
                </tr>
                <tr>
                    <td width="20%">模板：</td>
                    <td width="80%"><input type="text" value="" size="30" name="Template" class="textInput" /></td>
                </tr>
                <tr>
                    <td width="20%">seo关键字：</td>
                    <td width="80%"><input type="text" value="" size="30" name="SeoKeywords" class="textInput" /></td>
                </tr>
                <tr>
                    <td width="20%">seo描述：</td>
                    <td width="80%"><input type="text" value="" size="30" name="SeoDescription" class="textInput" /></td>
                </tr>
            </table>
        </div>

        <div class="formBar" ratio="#30">
			<ul>
				<div class="simplebutton"><div class="r"><button type="button" class="submit">保存</button></div></div>
			</ul>
		</div>
    </div>
</form>
<script type="text/javascript">
    $(function () {
        alert(0);
        
        var ue = UE.getEditor('Info', {
            focus: true,
            zIndex: 99999,
            contextMenu: [],
            emotionLocalization: true
        });
    });
    
</script>